package com.ding.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * Employee
 *
 * @author DYS
 * @date 2021/7/19
 * @time 23:05
 * @Description
 */
//员工表
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
	private Integer id;
	private String lastName;
	private String email;
	private Integer gender; //0:女 1:男
	private Department department;
	private String birth;
	private Integer eid;

	public Employee(Integer id, String lastName, String email, Integer gender, String birth, Integer eid) {
		this.id = id;
		this.lastName = lastName;
		this.email = email;
		this.gender = gender;
		this.birth = birth;
		this.eid = eid;
	}
}
